package com.cuit.zuke.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cuit.zuke.common.util.PageUtil;
import com.cuit.zuke.system.entity.SysDepartmentEntity;
import org.omg.CORBA.SystemException;

import java.util.List;
import java.util.Map;

/**
 * @program: zuke
 * @description: 部门接口
 * @author: KamTang
 * @create: 2022-04-11 09:33
 **/
public interface SysDepartmentService extends IService<SysDepartmentEntity> {
    /**
     * 部门列表
     *
     * @param params 将前端参数封装一起
     * @return PageUtil 分页返回
     */
    List<SysDepartmentEntity> findDepartmentList(Map<String, Object> params);

    /**
     * 删除院部门
     *
     * @param ids
     * @throws SystemException 系统异常
     */
    void deleteBatch(Long[] ids) throws SystemException;


}
